import 'package:base_flutter/base_flutter.dart';
import 'package:xihuwenti_tickets/net/api.dart';

class PostRequest{

  static void getPlaceHtml(onRequestSuccess success,onRequestFail fail){
    HttpGo.instance.get(Api.placeList,successListener: success,errorListener: fail);
  }

  static void getPlaceDetailHtml(String id,onRequestSuccess success,onRequestFail fail){
    HttpGo.instance.get(Api.getPlaceDetail,data: {"id":id},successListener: success,errorListener: fail);
  }
}